package com.nvn.androidapp.Objects;

import java.io.Serializable;

public class Document implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int ID;
	private String type, title, des, price, contact;
	private String exDate;
	private byte[] thumb;
	
	public Document() {}

	public Document(int iD, String type, String title, String des,
			String price, String contact, String exDate, byte[] thumb) {
		ID = iD;
		this.type = type;
		this.title = title;
		this.des = des;
		this.price = price;
		this.contact = contact;
		this.exDate = exDate;
		this.thumb = thumb;
	}

	/**
	 * @return the iD
	 */
	public int getID() {
		return ID;
	}

	/**
	 * @param iD the iD to set
	 */
	public void setID(int iD) {
		ID = iD;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the des
	 */
	public String getDes() {
		return des;
	}

	/**
	 * @param des the des to set
	 */
	public void setDes(String des) {
		this.des = des;
	}

	/**
	 * @return the price
	 */
	public String getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(String price) {
		this.price = price;
	}

	/**
	 * @return the contact
	 */
	public String getContact() {
		return contact;
	}

	/**
	 * @param contact the contact to set
	 */
	public void setContact(String contact) {
		this.contact = contact;
	}

	/**
	 * @return the exDate
	 */
	public String getExDate() {
		return exDate;
	}

	/**
	 * @param exDate the exDate to set
	 */
	public void setExDate(String exDate) {
		this.exDate = exDate;
	}

	/**
	 * @return the thumb
	 */
	public byte[] getThumb() {
		return thumb;
	}

	/**
	 * @param thumb the thumb to set
	 */
	public void setThumb(byte[] thumb) {
		this.thumb = thumb;
	}
	
	
}
